package com.ruoyi.cat.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class UserActivityDTO {


    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("文章id")
    private String articleId;

    @ApiModelProperty("用户id")
    private String userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("阅读数量")
    private Long quantity;

    @ApiModelProperty("收益")
    private BigDecimal revenue;


    @ApiModelProperty("活动标题")
    private String activityTitle;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("活动开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("活动结束时间")
    private Date endTime;

    @ApiModelProperty("缩略图")
    private String thumbnail;


    @ApiModelProperty("微信封面图")
    private String wXImg;

}
